package com.freight.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author huyingtai
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "user_Feedback")
@TableName("user_Feedback")
@ApiModel(value = "用户返回")
public class UserFeedback extends FreightBaseEntity {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "联系方式")
    private String mobile;

    @ApiModelProperty(value = "反馈内容")
    private String content;


}